﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CMS6Tools.Performances.DataAnalytics
{
    public class PingdomCheck
    {
        public int ID { get; set; }
        public int Created { get; set; }
        public string Name { get; set; }
        public string Hostname { get; set; }
        public string Resolution { get; set; }
        public int LastErrorTime { get; set; }
        public int LastTestTime { get; set; }
        public int LastResponseTime { get; set; }
        public string Status { get; set; }
        public string Type { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }

    public class PingdomChecksResponse
    {
        public List<PingdomCheck> Checks { get; set; }
    }
}
